// user/User.h
#ifndef USER_H
#define USER_H

#include <string>
#include "../Utils/Utils.h"
using namespace std;
class User {
    public:
    //enum Role { ADMIN, USER };
    // 构造函数
    User(const string& username, const string& password_hash,int id, Role role);
    // 获取用户名
    string getUsername() const;
    string getPasswordHash() const;
    int getId() const;
    Role getRole() const;
    
private:
    string username;
    string password_hash;
    int id;
    Role role;

};

#endif // USER_H
